﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Collections.Generic;

using Wind.MultimediaStation.WebService.Entity;

namespace Wind.MultimediaStation.WebService
{
    public interface IMultimediaStationBusiness 
    {

        /// <summary>
        /// 获取频道列表
        /// </summary>
        /// <returns></returns>
         List<OChannelInfo> GetChannelList();
 
        /// <summary>
        /// 是否有新频道
        /// </summary>       
        /// <returns></returns>
         bool HasNewChannnel();

        /// <summary>
        /// 获取频道的串联单
        /// </summary>
        /// <param name="ChannelID">频道ChannelID</param>
        /// <returns></returns>
         List<OPlayOrderInfo> GetPlayOrderListByChannelID(int channelID);
        /// <summary>
        /// 根据串联单获取节目列表
        /// </summary>
        /// <param name="orderID"></param>
        /// <returns></returns>
         List<OActInfo> GetActInfoListByID(int orderID);

        /// <summary>
        /// 根据城市名称获取天气预报
        /// </summary>
        /// <param name="cityName"></param>
        /// <returns></returns>
         OWeather GetWeatherbyCityName(string cityName);

         /// <summary>
         /// 写log 
         /// </summary>
         /// <param name="message"></param>
         /// <returns></returns>
         void WriterErrorLog(string message);
    }
}
